package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @program: 2019-10-12_userCenter
 * @description: 企业4要素信息比对
 * @author: DaiGaoLe
 * @create: 2019-11-08 14:15
 **/
@Data
@ApiModel(value = "企业4要素信息比对", description = "企业4要素信息比对")
public class Bureau4FactorsReq extends BaseReqObj {


    private static final long serialVersionUID = 2273395894097202056L;
    /**
     * 企业名称
     */
    @ApiModelProperty(value = "企业名称", notes = "企业名称", dataType = "String", required = true)
    @NotEmpty(message = "企业名称不能为空")
    private String name;

    /**
     * 企业统一社会信用代码或工商注册号
     */
    @ApiModelProperty(value = "企业统一社会信用代码或工商注册号", notes = "企业统一社会信用代码或工商注册号", dataType = "String", required = true)
    @NotEmpty(message = "企业统一社会信用代码或工商注册号不能为空")
    private String orgCode;

    /**
     * 企业法定代表人姓名
     */
    @ApiModelProperty(value = "企业法定代表人姓名", notes = "企业法定代表人姓名", dataType = "String", required = true)
    @NotEmpty(message = "企业法定代表人姓名不能为空")
    private String legalRepName;

    /**
     * 企业法定代表人身份证号
     */
    @ApiModelProperty(value = "企业法定代表人身份证号", notes = "企业法定代表人身份证号", dataType = "String", required = true)
    @NotEmpty(message = "企业法定代表人身份证号不能为空")
    private String legalRepCertNo;
}
